package com.neuedu.ylbx.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name = "SysUser对象", description = "")
public class SysUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Schema(description = "登录用户名")
    private String loginName;

    @Schema(description = "真实姓名")
    private String userName;

    @Schema(description = "性别：1-男 2-女")
    private Byte gender;

    @Schema(description = "密码")
    private String password;

    @Schema(description = "用户头像")
    private String avatar;

    @Schema(description = "联系方式")
    private String mobile;

    @Schema(description = "用户状态：1-正常 0-禁用")
    private Byte status;

    @Schema(description = "用户邮箱")
    private String email;

    @Schema(description = "逻辑删除标识：0-未删除；1-已删除")
    private Byte deleted;

    @Schema(description = "创建时间")
    private Date gmtCreate;

    @Schema(description = "更新时间")
    private Date gmtModified;

}
